package org.ccay.core.server;

import org.ccay.core.dispatcher.IEventHandler;
import org.ccay.core.exception.ApplicationException;

/**
 * 应用启动前事件
 * 
 * @since 2012-3-28
 */
public interface IBeforeStartupHandler  extends IEventHandler<StartupEventArgs> {
	/* (non-Javadoc)
	 * @see org.ccay.core.dispatcher.IEventHandler#execute(java.lang.Object, org.ccay.core.dispatcher.IEventArgs)
	 */
	void execute(Object sender, StartupEventArgs args) throws ApplicationException;
}
